#include <iostream>
using namespace std;

int globalvar;

void function() {
    int localVar = 10;

    static int staticVar = 20;

    const int constVar = 30;

    class MyClass
    {
    public:
        mutable int mutableVar;

        void constMemberFunc() const {
            mutableVar = 50;
        }
    };
    
    MyClass MyClass1;
    MyClass1.constMemberFunc();
    thread_local int threadVar = 60;
    cout << "localVar:" << localVar << endl;
    cout << "staticVar:" << staticVar << endl;
    cout << "mutableVar:" << MyClass1.mutableVar <<endl;
    cout << "threadVar:" << threadVar << endl;
}

int main() {
    extern int externalVar;
    function();
    return 0 ;
}